package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 园区课程包关系
 */
@Table(name = "tc_area_course_package")
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class AreaVendorCoursePackage extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 课程包id
     */
    @Column(name = "course_package_id")
    private String coursePackageId;

    /**
     * 园区id
     */
    @Column(name = "area_id")
    private String areaId;

    /**
     * 关系有效期
     */
    @Column(name = "avaliable_date")
    private Timestamp avaliableDate;

    
}